package com.xydtech.ecard.merchant.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 预授信图表统计
 *
 * @author yuzhiguo
 * @date 2024-05-27 下午5:11
 */
public class EcardPriorCreditChart extends BaseEntity {

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户名称
     */
    @Excel(name = "用户名称")
    private String userName;

    /**
     * 预授信总额度
     */
    @Excel(name = "预授信总额度")
    private Float priorCreditLimit;

    /**
     * 个人类额度
     */
    @Excel(name = "个人类额度")
    private Float anthropoidsLimit;

    /**
     * 商户类额度
     */
    @Excel(name = "商户类额度")
    private Float merchantLimit;

    /**
     * 本月新增
     */
    @Excel(name = "本月新增")
    private Float thisMouthPriorCreditLimit;

    /**
     * 上月新增
     */
    @Excel(name = "上月新增")
    private Float lastMouthPriorCreditLimit;

    /**
     * 较上月额度
     */
    @Excel(name = "较上月额度")
    private Float comparePriorCreditLimit;

    /**
     * 预授信总户数
     */
    @Excel(name = "预授信总户数")
    private Long priorCreditNum;

    /**
     * 个人类户数
     */
    @Excel(name = "个人类户数")
    private Long anthropoidsNum;

    /**
     * 商户类户数
     */
    @Excel(name = "商户类户数")
    private Long merchantNum;

    /**
     * 本月新增户数
     */
    @Excel(name = "本月新增户数")
    private Long thisMouthPriorCreditNum;

    /**
     * 上月新增户数
     */
    @Excel(name = "上月新增户数")
    private Long lastMouthPriorCreditNum;

    /**
     * 较上月户数
     */
    @Excel(name = "较上月户数")
    private Long comparePriorCreditNum;

    /**
     * 较上月类型（1：上升，2：下降）
     */
    private String compareType;

    /**
     * 客户类型，1个人，2商户
     */
    @Excel(name = "客户类型")
    private String custType;

    /**
     * 月份
     */
    private String month;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Float getPriorCreditLimit() {
        return priorCreditLimit;
    }

    public void setPriorCreditLimit(Float priorCreditLimit) {
        this.priorCreditLimit = priorCreditLimit;
    }

    public Float getAnthropoidsLimit() {
        return anthropoidsLimit;
    }

    public void setAnthropoidsLimit(Float anthropoidsLimit) {
        this.anthropoidsLimit = anthropoidsLimit;
    }

    public Float getMerchantLimit() {
        return merchantLimit;
    }

    public void setMerchantLimit(Float merchantLimit) {
        this.merchantLimit = merchantLimit;
    }

    public Float getThisMouthPriorCreditLimit() {
        return thisMouthPriorCreditLimit;
    }

    public void setThisMouthPriorCreditLimit(Float thisMouthPriorCreditLimit) {
        this.thisMouthPriorCreditLimit = thisMouthPriorCreditLimit;
    }

    public Float getLastMouthPriorCreditLimit() {
        return lastMouthPriorCreditLimit;
    }

    public void setLastMouthPriorCreditLimit(Float lastMouthPriorCreditLimit) {
        this.lastMouthPriorCreditLimit = lastMouthPriorCreditLimit;
    }

    public Float getComparePriorCreditLimit() {
        return comparePriorCreditLimit;
    }

    public void setComparePriorCreditLimit(Float comparePriorCreditLimit) {
        this.comparePriorCreditLimit = comparePriorCreditLimit;
    }

    public Long getPriorCreditNum() {
        return priorCreditNum;
    }

    public void setPriorCreditNum(Long priorCreditNum) {
        this.priorCreditNum = priorCreditNum;
    }

    public Long getAnthropoidsNum() {
        return anthropoidsNum;
    }

    public void setAnthropoidsNum(Long anthropoidsNum) {
        this.anthropoidsNum = anthropoidsNum;
    }

    public Long getMerchantNum() {
        return merchantNum;
    }

    public void setMerchantNum(Long merchantNum) {
        this.merchantNum = merchantNum;
    }

    public Long getThisMouthPriorCreditNum() {
        return thisMouthPriorCreditNum;
    }

    public void setThisMouthPriorCreditNum(Long thisMouthPriorCreditNum) {
        this.thisMouthPriorCreditNum = thisMouthPriorCreditNum;
    }

    public Long getLastMouthPriorCreditNum() {
        return lastMouthPriorCreditNum;
    }

    public void setLastMouthPriorCreditNum(Long lastMouthPriorCreditNum) {
        this.lastMouthPriorCreditNum = lastMouthPriorCreditNum;
    }

    public Long getComparePriorCreditNum() {
        return comparePriorCreditNum;
    }

    public void setComparePriorCreditNum(Long comparePriorCreditNum) {
        this.comparePriorCreditNum = comparePriorCreditNum;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getCompareType() {
        return compareType;
    }

    public void setCompareType(String compareType) {
        this.compareType = compareType;
    }

    public String getCustType() {
        return custType;
    }

    public void setCustType(String custType) {
        this.custType = custType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("priorCreditLimit", getPriorCreditLimit())
                .append("anthropoidsLimit", getAnthropoidsLimit())
                .append("merchantLimit", getMerchantLimit())
                .append("thisMouthPriorCreditLimit", getThisMouthPriorCreditLimit())
                .append("lastMouthPriorCreditLimit", getLastMouthPriorCreditLimit())
                .append("comparePriorCreditLimit", getComparePriorCreditLimit())
                .append("priorCreditNum", getPriorCreditNum())
                .append("anthropoidsNum", getAnthropoidsNum())
                .append("merchantNum", getMerchantNum())
                .append("thisMouthPriorCreditNum", getThisMouthPriorCreditNum())
                .append("lastMouthPriorCreditNum", getLastMouthPriorCreditNum())
                .append("comparePriorCreditNum", getComparePriorCreditNum())
                .append("month", getMonth())
                .append("compareType", getCompareType())
                .append("custType", getCustType())
                .toString();
    }
}
